<?php require_once('adminhead.phtml');?>

			
<?php require_once('admin_toolbar.phtml');?>

			</td>
			<td valign=top align=middle width=644 bgcolor=#ffffff> <br />
			<br />


<?php
echo $this->ArrayGrid($this->actArr,$this->pageSction,Default_Page_Line,
						array('id'=>'序号','action'=>'动作','name'=>'动作名称','columnid'=>'显示顺序','viewmode'=>'显示否'),
						array('select'=>array('key'=>'id','title'=>'选择'),
							'act_title'=>'操作',
							'act_key'=>'id',
							'act_list'=>array(array('title'=>'修改','url'=>'/admin/updact'),
												array('title'=>'删除','url'=>'/admin/delact')
												)
							)
						);
?>

添加动作
<form method="GET" action="/admin/insact" id="addactfrm" onsubmit="">
<label for="act"> 动作<input type="text" id="act" name="act" value="" size="10" maxlength="20" /> </label>
<label for="name"> 动作名称<input type="text" id="name" name="name" value="" size="20" maxlength="20" /> </label>
<label for="columnid"> 显示位置<select id="columnid" name="columnid">
<?php
$str = "";
foreach ($this->columnArr as $key => $value) {
	$str .= "<option value=\"" . $value['id'] . "\">" . $value['name'] . "</option>";
}
echo $str;
?>
</select> </label>
<label for="viewmode">显示否<select id="viewmode" name="viewmode"><option value="Y" selected>显示</option><option value="N">隐藏</option> </select> </label>
<input type="submit" id="sub" name="sub" value="添加"/><label style="color:red;"><?php echo $this->msgSection;?></label>
</form>


			</td>
			<td background=/img/admin/head_bn_right.gif>&nbsp;</td>
		</tr>
	</tbody>
</table>
<?php require_once('adminfoot.phtml');?>